home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 3892 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.4 KB

  1. Path: ns.ftns.no!news
  2. From: kenneth@norconnect.no (Kenneth C. Nilsen)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: OpenScreen (need help)
  5. Date: 16 Feb 1996 13:06:27 GMT
  6. Organization: A poorly-installed InterNetNews site
  7. Message-ID: <1048.6620T770T1677@norconnect.no>
  8. References: <robert.44.00164AD6@southern.co.nz>
  9. NNTP-Posting-Host: norconnect.no
  10. X-Newsreader: THOR 2.22 (Amiga;TCP/IP)
  11.  
  12. The 06-Feb-96 20:13:12, Robert Read wrote in msg n/a : 
  13.  
  14. >I have an Amiga 500 with ECS Agnus and Denise and want to open
  15. >a SuperHires screen in assembler.
  16. >What value do I use in the OpenScreen operation?
  17.  
  18. PAL_MONITOR_ID = $21000
  19.  
  20. SUPER_KEY     = $8020
  21. SUPERLACE_KEY = $8024
  22.  
  23. So your ID would be:
  24.  
  25. SMode     =     SUPER_KEY!PAL_MONITOR_ID        ;for superhires nonlace
  26. SModeLace =     SUPERLACE_KEY!PAL_MONITOR_ID    ;for superhires lace
  27.  
  28. If you uses NTSC use NTSC_MONITOR_ID instead of PAL_MONITOR_ID which will be
  29.  
  30. NTSC_MONITOR_ID = $11000
  31.  
  32. ! Remember to OR the values (!)
  33.  
  34.         sub.l   a0,a0
  35.         lea     Tags(pc),a1
  36.         Call    OpenScreentaglist
  37.  
  38.         ...
  39.  
  40. Tags    dc.l    SA_DisplayID,SMode
  41.         dc.l    ... , ...
  42.  
  43.         dc.l    END_TAG,END_TAG         ;= 0,0
  44.  
  45. This information can also be obtained in the graphics/modeid.i include.
  46.  
  47.  
  48. ---
  49. Worldwide Solutions AS  \        Kenneth C. Nilsen (kenneth@norconnect.no)
  50.     Advisor, developer   \/\/\/\        http://www.norconnect.no/~kenneth/
  51.            coordinator          \
  52.  
  53.